Class MULinkUpdStatusMessage

All Implemented Interfaces:
LTV

public class MULinkUpdStatusMessage extends MultiUserMessage
This is a name update message from PT.
  • Field Details

    • linkOpId

      public int linkOpId
    • linkUpdateStatus

      public int linkUpdateStatus
  • Constructor Details

    • MULinkUpdStatusMessage

      public MULinkUpdStatusMessage(int linkOpId, int linkUpdateStatus)
      This function creates a link update status message for the MU protocol.
      Parameters:
      linkOpId - The link operation ID
      linkUpdateStatus - The link update status
  • Method Details

    • getMessage

      public static MULinkUpdStatusMessage getMessage(EncodedBuffer buffer)
      A deserialization function that creates a new message from a PtmpBuffer object.
      Parameters:
      buffer - The PtmpBuffer to get from
      Returns:
      A new instance of a MULinkUpdStatusMessage class get from the buffer
    • encodeTypeAndPayload

      public void encodeTypeAndPayload(PtmpBuffer buffer)
      Serializes the message into a PtmpBuffer.
      Parameters:
      buffer - The PtmpBuffer to get the message into
    • getLinkOpId

      public int getLinkOpId()
      Returns the link operation ID.
      Returns:
      The link operation ID
    • setLinkOpId

      public void setLinkOpId(int linkOpId)
      Sets the link operation ID.
      Parameters:
      linkOpId - The link operation ID
    • getLinkUpdateStatus

      public int getLinkUpdateStatus()
      Returns the link update status.
      Returns:
      The link update status
    • setLinkUpdateStatus

      public void setLinkUpdateStatus(int linkUpdateStatus)
      Sets the link update status.
      Parameters:
      linkUpdateStatus - The link update status
    • toString

      public String toString()
      Converts this message into a string for debugging purposes
      Overrides:
      toString in class MultiUserMessage
      Returns:
      A string representation of this message